package com.example.xyblog.mapper;

import com.example.xyblog.Model.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CommentMapper {
    public int updateComment(@Param("content") String content
                            ,@Param("aid")Integer aid
                            ,@Param("uid")Integer uid);

    public List<Comment> getComment(@Param("aid") Integer id);
}
